<!DOCTYPE html>
<html>

	<head>
		<meta charset="UTF-8">
		<meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no" />
		<title></title>
		<link href="../../js/bootstrap-3.3.7-dist/css/bootstrap.min.css" rel="stylesheet">
		<link rel="stylesheet" type="text/css" href="footer.css" />
		<link rel="stylesheet" href="../../css/lystyle.css" />
		<style type="text/css">
			/*修改底部字体颜色*/
			
			.foot:nth-child(2) {
				color: #e83023;
			}
		</style>
		<script src="../../js/flexible.min.js" type="text/javascript" charset="utf-8"></script>
	</head>

	<body>
		<div id="wrap">
			<div id="main">
				<div id="header">
					<a id="headImg" href="javascript:history.go(-1)"><img class="headImg" src="../../images/12.png" /></a>
					<p id="headTitle">意向申请</p>
				</div>
				<div id="content">
					<!--内容-->
					<ul class="ly-person">
						<li class="ly-person-li">
							<a href="person_FirmApplyfor.html">
								<span>企业管理申请</span><img src="../../images/personage/more.png" />
							</a>
						</li>
						<li class="ly-person-li" style="display: none;">
							<a href="person_applyManage.html">
								<span>仁和管理申请</span><img src="../../images/personage/more.png" />
							</a>
						</li>
						<li class="ly-person-li">
							<a href="person_applyCommercial.html">
								<span>商家在线申请</span><img src="../../images/personage/more.png" />
							</a>
						</li>
						<li class="ly-person-li">
							<!--onclick="maker()"-->
							<a href="person_MakerApplyfans.html">
								<span>创客申请</span><img src="../../images/personage/more.png" />
							</a>
						</li>
						<li class="ly-person-li">
							<a href="person_MakerApplyVip.html">
								<span>会员认证</span><img src="../../images/personage/more.png" />
							</a>
						</li>
						<li class="ly-person-li">
							<a href="person_applySeller.html">
								<span>卖家意向申请</span><img src="../../images/personage/more.png" />
							</a>
						</li>
					</ul>
				</div>
			</div>
		</div>

	</body>
	<script src="../../js/jquery-2.2.3.min.js"></script>
	<script src="../../../common/js/bootstrap-3.3.7-dist/js/bootstrap.min.js"></script>
	<script src="../../js/jquery.cookie.js"></script>
	<script>
		var tokenReztApp = $.cookie("tokenReztApp");
		console.log(tokenReztApp);
		if(!tokenReztApp) {
			window.location.href = "../login/login/login.html";
		}
		$(function() {
			currentyf();
		});

		//用户信息
		var user, role, goodsId;
		//获取当前会员信息
		function currentyf() {
			$.ajax({
				cache: false,
				type: "GET",
				url: "http://47.104.13.109/member-service/auth/current?token=" + tokenReztApp,
				dataType: "JSON",
				async: false,
				error: function(XMLHttpRequest, textStatus, errorThrown) {
					$.removeCookie('tokenReztApp', {
						expires: 7,
						path: '/'
					});
					$.removeCookie("tokenRh", {
						expires: 7,
						path: '/'
					});
					$.removeCookie('memberId', {
						expires: 7,
						path: '/'
					});
					$.removeCookie('roleId', {
						expires: 7,
						path: '/'
					});
					window.location.href = "../login/login/login.html";
				},
				success: function(data) {
					console.log(data.ext1);
					user = data.loginName;
					role = data.roleList[0].id; //角色
					goodsId = data.id;

				}
			});
		}

		/*有用
		 * function maker() {
			$.ajax({
				cache: false,
				type: "GET",
				url: "http://localhost:16696/founder/searchUserType?type=1&applyforUser=" + user,
				dataType: "JSON",
				async: false,
				error: function(XMLHttpRequest, textStatus, errorThrown) {

				},
				success: function(data) {
					if(data.id == null) {
						window.location.href = "person_MakerApplyfans.html";
					} else {
						if(data.auditStatus == "-1") {
							window.location.href = ".html";
							
						} else if(data.auditStatus == "1") {
							window.location.href = "person_MakerRenew.html";

						} else {
							alert("审核中！");
						
						}

						在判断通过没通过
						通过了就是 续费页面
						没通过就是修改上次提交过的信息
					}

				}
			});
		}*/
	</script>

</html>